// 安滨嘉苑不动产数据 - 浏览器兼容版本
 const commonJsData = {
  queryBimData() {
    // var basePath="http://127.0.0.1/bimdata";
    //var basePath="http://82.157.44.69/bimdata";
    var basePath = 'http://59.110.126.246:8085/mapdata/bimdata'
    //var basePath="/mapdata/bimdata";
    var data = [
      {
        url: basePath + '/D1/tileset.json',
        lng: 120.62103879436891,
        lat: 30.162850171996755,
        x: -40,
        d: 'D1',
        title: 'D1',
        height: 25,
      },
      {
        url: basePath + '/D2/tileset.json',
        lng: 120.62142842468931,
        lat: 30.162572802462584,
        x: -42,
        d: 'D2',
        title: 'D2',
        height: 23,
      }
    ]
    return data
  },

  queryBuildingData() {
    const build =[
      {
        lat: 30.161300180130663,
        lng: 120.62136430153972,
        heigh: -1.2,
        baseHeight: 0,
        length: 18,
        width: 11,
        height: 2.95,
        id: '安滨嘉苑-D1-106',
        r: 1,
        g: 0,
        b: 0,
        a: 0,
        mz: 55,
      },
      {
        lat: 30.161300180130663,
        lng: 120.62136430153972,
        heigh: 1.8,
        baseHeight: 0,
        length: 18,
        width: 11,
        height: 2.95,
        id: '安滨嘉苑-D1-206',
        r: 1,
        g: 0,
        b: 0,
        a: 0,
        mz: 55,
      },
    ]
    return build
  },
}

// 为了兼容，也创建一个直接的引用
if (typeof module !== 'undefined' && module.exports) {
  module.exports = window.commonJsData
}
